import { useSetCurrentRouteStorage } from "../hooks/useStorage";
import BasicConfig from "../utils/config";
export const commonMixin = {
  data() {
    return {};
  },
  onShow() {
    // this.$nextTick(() => {
    //   useSetCurrentRouteStorage();
    // });
    setTimeout(() => {
      useSetCurrentRouteStorage();
    }, 10);
  },
  methods: {
    toast(param) {
      BasicConfig.toast(param);
    },
  },
};
